#include "cppTutorConcreteCreator.h"

        
Resume :: Resume()
{
    Log << "ENTER : Resume :: Resume ()" << endl;

    CreatePages();

    Log << "EXIT  : Resume :: Resume ()" << endl;
}
        
void Resume :: CreatePages(void)
{
    Log << "ENTER : Resume :: CreatePages ()" << endl;
    
    AddPages(new SkillsPage());
    AddPages(new EducationPage());
    AddPages(new ExperiencePage());
    
    Log << "EXIT  : Resume :: CreatePages ()" << endl;
}

////////
        
Report :: Report()
{
    Log << "ENTER : Report :: Report ()" << endl;
    
    CreatePages();
    
    Log << "EXIT  : Report :: Report ()" << endl;
}
    
void Report :: CreatePages(void)
{
    Log << "ENTER : Report :: CreatePages ()" << endl;
    
    AddPages(new SummaryPage());
    AddPages(new IntroductionPage());
    AddPages(new ResultsPage());
    AddPages(new ConclusionPage());
    AddPages(new BibliographyPage());

    Log << "EXIT  : Report :: CreatePages ()" << endl;
}